package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CurrentAffairsDetailVo {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "资讯类型")
    private Long currentAffairsTypeId;

    @ApiModelProperty(value = "资讯类型名称")
    private String currentAffairsType;

    @ApiModelProperty(value = "封面缩略图")
    private String coverThumbnail;

    @ApiModelProperty(value = "文章名称")
    private String articleName;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "排序,由大到小")
    private Integer sort;

    @ApiModelProperty(value = "是否展示")
    private Boolean isShow;

    @ApiModelProperty(value = "是否推荐")
    private Boolean isRecommend;

    @ApiModelProperty(value = "内容来源")
    private String contentSource;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd")
    private Date modifyTime;

}
